/**
 * @author tanx
 * @createTime 2023-08-21
 * @lastTime 2023-10-31
 * 取水许可审批台账表
 */
import request from '@/utils/request'

// 列表
export function getAllData(data) {
    return request({
        url: '/zy-api/api/projectWat/findList',
        method: 'post',
        data: data
    })
}

// 删除
export function deleteData(data) {
    return request({
        url: '/zy-api/api/projectWat/delete',
        method: 'post',
        data: data
    })
}

// 新增
export function addDataWat(data) {
    return request({
        url: '/zy-api/api/projectWat/add',
        method: 'post',
        data: data
    })
}

// 编辑
export function editDataWat(data) {
    return request({
        url: '/zy-api/api/projectWat/update',
        method: 'post',
        data: data
    })
}

// 一审
export function oneAuditDataWat(data, childCode) {
    return request({
        headers: {
            'childCode': childCode
        },
        url: '/zy-api/api/projectWat/reviewOne',
        method: 'post',
        data: data
    })
}

// 二审
export function twoAuditDataWat(data, childCode) {
    return request({
        headers: {
            'childCode': childCode
        },
        url: '/zy-api/api/projectWat/reviewTwo',
        method: 'post',
        data: data
    })
}